projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7fc39
)
(S_ISLNK): Define if not defined.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 6 Feb 2002 15:44:28 +0000
(15:44 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 6 Feb 2002 15:44:28 +0000
(15:44 +0000)
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index 5bf22dba7902d04a5b6562edf234abc3eb71aa4e..b85f0a68a0eab52d7b004499195bcf32efe90fe1 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-67,6
+67,10
@@
Lisp_Object Vtemporary_file_directory;
#include <utmp.h>
+#if !defined (S_ISLNK) && defined (S_IFLNK)
+#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
+#endif
+
/* A file whose last-modified time is just after the most recent boot.
Define this to be NULL to disable checking for this file. */
#ifndef BOOT_TIME_FILE